package com.chenjian.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class ModuleAddVo {

    @NotNull(message = "不能为空")
    private Long userId;

    @Size(min = 2, max = 20, message = "模块名称长度不符合要求")
    private String moduleName;

}
